package com.example.dubboprovider.service.impl;

import com.example.dubboprovider.service.UserService;
import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.annotation.Service;

@DubboService //将这个类提供的服务对外发布
public class UserServiceImpl implements UserService {

    @Override
    public String hello() {
        return "你好，dubbo！";
    }
}
